<?php 
if (@$_SESSION["url_principal"] /*and @$_SESSION["perfil"] and @$_SESSION["user"]*/){
	echo '
	<script type="text/javascript">
		controller("'.substr(@$_SESSION["url_principal"],9).'","","contenedor");
	</script>';
}else{
	echo '
	<script type="text/javascript">
		controller("app/view/acceso/acceso.php","","contenedor");
	</script>';
}
?>